/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */


/* client */

MACRO_CONFIG_STR(dmod_hud_view,30,"hnancnP S G L", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Set your own HUD")
MACRO_CONFIG_INT(dmod_weapon_laser_color_r_o, 75, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_laser_color_g_o, 75, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_laser_color_b_o, 250, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_laser_color_r_i, 500, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_laser_color_g_i, 500, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_laser_color_b_i, 1000, 0, 1000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of laser")
MACRO_CONFIG_INT(dmod_weapon_smoketrail_color_random, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail random")
MACRO_CONFIG_INT(dmod_weapon_smoketrail_color_r, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail")
MACRO_CONFIG_INT(dmod_weapon_smoketrail_color_g, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail")
MACRO_CONFIG_INT(dmod_weapon_smoketrail_color_b, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail")
MACRO_CONFIG_INT(dmod_weapon_smoketrail_color_a, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail")
MACRO_CONFIG_INT(dmod_hud_scoretransparent, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Score table is transparent")
MACRO_CONFIG_STR(dmod_cycleswitch,5,"43", CFGFLAG_CLIENT|CFGFLAG_SAVE , "Switch weapon cycle setting")
MACRO_CONFIG_INT(dmod_out_of_ammo_switch, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE , "Switch to other weapon when clip get empty")
MACRO_CONFIG_INT(dmod_player_plate_r, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "allow red in plates")
MACRO_CONFIG_INT(dmod_player_plate_g, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "allow green in plates")
MACRO_CONFIG_INT(dmod_player_plate_b, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "allow blue in plates")
MACRO_CONFIG_INT(dmod_player_plate_byteam, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color plates by team")
MACRO_CONFIG_INT(dmod_player_plate_id, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show player id plates")
MACRO_CONFIG_INT(dmod_hud_show_currentteam, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show current team")
MACRO_CONFIG_INT(dmod_hud_miniscore_transparent, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Miniscore is transparent")
MACRO_CONFIG_INT(dmod_camera_force_spectate_view, 0, 0, 2, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Force camera as spectator in normal player")
MACRO_CONFIG_INT(dmod_hud_broadcast_style, 0, 0, 2, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Broadcast messages is tweaked for race")
MACRO_CONFIG_INT(dmod_chat_text_size, 7, 0, 20, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Chat size (but don't do barby size ^^)")
MACRO_CONFIG_INT(dmod_chat_old_colors, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Old chat colours")
MACRO_CONFIG_INT(dmod_chat_printhp_anyway_nodead, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Anyway print no dead message if spectating (It's needed... really)")
MACRO_CONFIG_STR(dmod_chat_servermessage,1,"", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Default server message")
MACRO_CONFIG_INT(dmod_spectator_zoom, -1, -1, 10000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "zoom out/ zoom in")
MACRO_CONFIG_INT(dmod_skins_xninja_play, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "x ninja is playable?")

/* console */
MACRO_CONFIG_INT(dmod_console_color_main_r, 20, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console main (f1) red")
MACRO_CONFIG_INT(dmod_console_color_main_g, 20, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console main (f1) green")
MACRO_CONFIG_INT(dmod_console_color_main_b, 20, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console main (f1) blue ")
MACRO_CONFIG_INT(dmod_console_color_main_a, 90, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console main (f1) alpha")

MACRO_CONFIG_INT(dmod_console_color_remote_r, 40, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console remote (f2) red")
MACRO_CONFIG_INT(dmod_console_color_remote_g, 20, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console remote (f2) green")
MACRO_CONFIG_INT(dmod_console_color_remote_b, 20, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console remote (f2) blue ")
MACRO_CONFIG_INT(dmod_console_color_remote_a, 90, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of console remote (f2) alpha")

/* editor */
MACRO_CONFIG_INT(dmod_editor_default_width, 50, 0, 10000000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Editor default width")
MACRO_CONFIG_INT(dmod_editor_map_restart, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Map restart after editor changes")
MACRO_CONFIG_INT(dmod_editor_set_wnh, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Tiles default height and width = default editor game layer width and height")
MACRO_CONFIG_INT(dmod_editor_default_height, 50, 0, 10000000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Editor default height")
MACRO_CONFIG_INT(dmod_editor_tile_default_width, 50, 0, 10000000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Editor default tile width")
MACRO_CONFIG_INT(dmod_editor_tile_default_height, 50, 0, 10000000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Editor default tile width")
/* Effects */
MACRO_CONFIG_INT(dmod_effects_playerspawn, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show player spawn effect")
MACRO_CONFIG_INT(dmod_effects_airjump, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show player airjump effect")
MACRO_CONFIG_INT(dmod_effects_powerupshine, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show player ninja power-up effect")
MACRO_CONFIG_INT(dmod_effects_smoketrail, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show smoketrail effect")
MACRO_CONFIG_INT(dmod_effects_skidtrail, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show skidtrail effect")
MACRO_CONFIG_INT(dmod_effects_bullettrail, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show bullettrail effect")
MACRO_CONFIG_INT(dmod_effects_bullettrail_color_r, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Red color bullettrail")
MACRO_CONFIG_INT(dmod_effects_bullettrail_color_g, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Green color bullettrail")
MACRO_CONFIG_INT(dmod_effects_sgbullettrail_color_b, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Blue color sgbullettrail")
MACRO_CONFIG_INT(dmod_effects_sgbullettrail_color_r, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Red color sgbullettrail")
MACRO_CONFIG_INT(dmod_effects_sgbullettrail_color_g, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Green color sgbullettrail")
MACRO_CONFIG_INT(dmod_effects_bullettrail_color_b, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Blue color bullettrail")
MACRO_CONFIG_INT(dmod_effects_playerdeath, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show player death effect")
MACRO_CONFIG_INT(dmod_effects_explosion, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show explosion effect")
MACRO_CONFIG_INT(dmod_effects_hammerhit, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show hammerhit effect")
MACRO_CONFIG_INT(dmod_effects_better, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Eye-candy for effects")
MACRO_CONFIG_INT(dmod_effects_smoketrail_color, 0, 0, 5, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of smoketrail (grenade trail)")
MACRO_CONFIG_INT(dmod_effects_smoketrail_effect, 0, 0, 4, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show smoketrail effect")
MACRO_CONFIG_INT(dmod_effects_playerdeath_color, 0, 0, 5, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Color of player death")
MACRO_CONFIG_INT(dmod_effects_flagtrail, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Flagtrail")
MACRO_CONFIG_INT(dmod_effects_weapons, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Weapontrail")


/* tweaks */
MACRO_CONFIG_INT(dmod_items_flag_size, 42, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "flag size")
MACRO_CONFIG_INT(dmod_items_flag_angle, 0, 0, 360, CFGFLAG_CLIENT|CFGFLAG_SAVE, "flag angle")
MACRO_CONFIG_INT(dmod_body_alpha, 100, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "tee body alpha for all")
MACRO_CONFIG_INT(dmod_body_anim_inair_walk, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "tee body alpha for all")
MACRO_CONFIG_INT(dmod_fun_functions, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Warning! Very exprimental functions, and they only for fun!")
/* Menu */
MACRO_CONFIG_INT(dmod_menu_solidbackground, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Solid background in menus")

/* ---- Not dmod ---- */
MACRO_CONFIG_INT(cl_predict, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Predict client movements")
MACRO_CONFIG_INT(cl_nameplates, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show nameplates")
MACRO_CONFIG_INT(cl_nameplates_always, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Always show nameplats disregarding of distance")
MACRO_CONFIG_INT(cl_autoswitch_weapons, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Auto switch weapon on pickup")

MACRO_CONFIG_INT(cl_showfps, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show ingame FPS counter")

MACRO_CONFIG_INT(cl_airjumpindicator, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")
MACRO_CONFIG_INT(cl_threadsoundloading, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")

MACRO_CONFIG_INT(cl_warning_teambalance, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Warn about team balance")

MACRO_CONFIG_INT(cl_mouse_deadzone, 300, 0, 0, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")
MACRO_CONFIG_INT(cl_mouse_followfactor, 60, 0, 200, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")
MACRO_CONFIG_INT(cl_mouse_max_distance, 800, 0, 0, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")

MACRO_CONFIG_INT(ed_showkeys, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")

MACRO_CONFIG_INT(cl_flow, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")

MACRO_CONFIG_INT(cl_show_welcome, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "")
MACRO_CONFIG_INT(cl_motd_time, 10, 0, 100, CFGFLAG_CLIENT|CFGFLAG_SAVE, "How long to show the server message of the day")

MACRO_CONFIG_STR(cl_version_server, 100, "version.teeworlds.com", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Server to use to check for new versions")

MACRO_CONFIG_INT(player_use_custom_color, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Toggles usage of custom colors")
MACRO_CONFIG_INT(player_color_body, 65408, 0, 0, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Player body color")
MACRO_CONFIG_INT(player_color_feet, 65408, 0, 0, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Player feet color")
MACRO_CONFIG_STR(player_skin, 64, "default", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Player skin")

MACRO_CONFIG_INT(ui_page, 5, 0, 9, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface page")
MACRO_CONFIG_STR(ui_server_address, 128, "localhost:8303", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface server address")
MACRO_CONFIG_INT(ui_scale, 100, 1, 100000, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface scale")

MACRO_CONFIG_INT(ui_color_hue, 160, 0, 255, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface color hue")
MACRO_CONFIG_INT(ui_color_sat, 70, 0, 255, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface color saturation")
MACRO_CONFIG_INT(ui_color_lht, 175, 0, 255, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface color lightness")
MACRO_CONFIG_INT(ui_color_alpha, 228, 0, 255, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface alpha")

MACRO_CONFIG_INT(gfx_noclip, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Disable clipping")

/* server */

// Spawn
MACRO_CONFIG_INT(dmod_spawn_health, 1, 0, 1, CFGFLAG_SERVER, "Spawn health on map")
MACRO_CONFIG_INT(dmod_spawn_armor, 1, 0, 1, CFGFLAG_SERVER, "Spawn armor on map")
MACRO_CONFIG_INT(dmod_spawn_grenade, 1, 0, 1, CFGFLAG_SERVER, "Spawn GL on map")
MACRO_CONFIG_INT(dmod_spawn_shotgun, 1, 0, 1, CFGFLAG_SERVER, "Spawn SG on map")
MACRO_CONFIG_INT(dmod_spawn_rifle, 1, 0, 1, CFGFLAG_SERVER, "Spawn RG on map")
// Default
MACRO_CONFIG_INT(dmod_default_health, 10, 0, 100, CFGFLAG_SERVER, "Default health")
MACRO_CONFIG_INT(dmod_default_armor, 0, 0, 100, CFGFLAG_SERVER, "Default armor")
// Start weapons
MACRO_CONFIG_INT(dmod_start_hammer, 1, 0, 1, CFGFLAG_SERVER, "Start with hammer")
MACRO_CONFIG_INT(dmod_start_pistol, 1, 0, 1, CFGFLAG_SERVER, "Start with pistol")
MACRO_CONFIG_INT(dmod_start_shotgun, 0, 0, 1, CFGFLAG_SERVER, "Start with SG")
MACRO_CONFIG_INT(dmod_start_grenade, 0, 0, 1, CFGFLAG_SERVER, "Start with GL")
MACRO_CONFIG_INT(dmod_start_rifle, 0, 0, 1, CFGFLAG_SERVER, "Start with RL")
// Start ammo weapons
MACRO_CONFIG_INT(dmod_start_ammo_pistol, 1, 0, 10, CFGFLAG_SERVER, "With how many ammo start pistol, if start_pistol is 1")
MACRO_CONFIG_INT(dmod_start_ammo_shotgun, 10, 0, 10, CFGFLAG_SERVER, "With how many ammo start SG, if start_shotgun is 1")
MACRO_CONFIG_INT(dmod_start_ammo_grenade, 10, 0, 10, CFGFLAG_SERVER, "With how many ammo start GL, if start_grenade is 1")
MACRO_CONFIG_INT(dmod_start_ammo_rifle, 10, 0, 10, CFGFLAG_SERVER, "With how many ammo start RL, if start_rifle is 1")
// Spawn Times
MACRO_CONFIG_INT(dmod_spawn_time_health, 300, 0, 300, CFGFLAG_SERVER, "Spawn health after # secondes 300 - default")
MACRO_CONFIG_INT(dmod_spawn_time_armor, 300, 0, 300, CFGFLAG_SERVER, "Spawn armor after # secondes 300 - default")
MACRO_CONFIG_INT(dmod_spawn_time_weapons, 300, 0, 300, CFGFLAG_SERVER, "Spawn weapons after # secondes 300 - default")
MACRO_CONFIG_INT(dmod_spawn_time_ninja, 300, 0, 300, CFGFLAG_SERVER, "Spawn powerup ninja after # secondes 300 - default")
// CTF
MACRO_CONFIG_INT(dmod_player_capture_flagpoints, 5, 0, 100000, CFGFLAG_SERVER, "")
MACRO_CONFIG_INT(dmod_player_got_flagpoints, 1, 0, 100000, CFGFLAG_SERVER, "")
MACRO_CONFIG_INT(dmod_gametype_ctfisteamgame, 1, 0, 1, CFGFLAG_SERVER, "CTF is teamplay gametype")
MACRO_CONFIG_INT(dmod_team_capture_flagpoints, 100, 0, 100000, CFGFLAG_SERVER, "How many will get team for flag capture")
MACRO_CONFIG_INT(dmod_team_got_flagpoints, 1, 0, 100000, CFGFLAG_SERVER, "How many will get team for getting flag")
MACRO_CONFIG_INT(dmod_gametype_flaggrabtimedisplay, 60, 0, 100000, CFGFLAG_SERVER, "Minimum grab time display")

// Gametype others
MACRO_CONFIG_INT(dmod_gametype_custom, 0, 0, 1, CFGFLAG_SERVER, "Custom named gametype")
MACRO_CONFIG_STR(dmod_gametype_custom_name, 24, "dmod", CFGFLAG_SERVER, "Gametype is named?")
MACRO_CONFIG_INT(dmod_player_suicide_score, 1, 0, 1, CFGFLAG_SERVER, "-1 score if suicide")
MACRO_CONFIG_INT(dmod_team_kill_score, 1, 0, 1, CFGFLAG_SERVER, "-1 score if teamkill")
MACRO_CONFIG_INT(dmod_player_kill_score, 1, 0, 1, CFGFLAG_SERVER, "+1 score if kill enemy")
MACRO_CONFIG_INT(dmod_throw_kill, 0, 0, 1, CFGFLAG_SERVER, "Throw kills are give points to thrower (killer)")
MACRO_CONFIG_INT(dmod_throw_kill_explosion_aggro, 1, 0, 1, CFGFLAG_SERVER, "Explosion by you weapon give aggro for you")
MACRO_CONFIG_INT(dmod_hooktiles_is_solidtiles, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SERVER, "boomshit")

// Damage
MACRO_CONFIG_INT(dmod_damage_self, 1, 0, 1, CFGFLAG_SERVER, "Selfdamage")
MACRO_CONFIG_INT(dmod_damage, 100, 0, 1000, CFGFLAG_SERVER, "Damage to all tees, percent of normal damage")
// MACRO_CONFIG_INT(dmod_damage, 1, 0, 1, CFGFLAG_SERVER, "Damage to all tees")

// Damage Weapons
MACRO_CONFIG_INT(dmod_damage_laser, 5, 0, 20, CFGFLAG_SERVER, "Laser damage")
// Todo more weapons (but it lazy ^^ )

// Maximum variables
MACRO_CONFIG_INT(dmod_maximum_health, 10, 0, 100, CFGFLAG_SERVER, "Maximum health")
MACRO_CONFIG_INT(dmod_maximum_armor, 10, 0, 100, CFGFLAG_SERVER, "Maximum armor")

// Intergrated Laser/hammer push
MACRO_CONFIG_INT(dmod_push_laser, 0, 0, 500, CFGFLAG_SERVER, "Laser push")
MACRO_CONFIG_INT(dmod_push_hammer, 0, 0, 500, CFGFLAG_SERVER, "Hammer push") // It's dummy now

// Some fun stuff
MACRO_CONFIG_INT(dmod_team_spectator_not_solid, 0, 0, 1, CFGFLAG_SERVER, "Spectator is solid")

// optimizations/tweaks
MACRO_CONFIG_INT(dmod_tweaks_emote_disable, 0, 0, 1, CFGFLAG_SERVER, "Disable emotes")
// not dmod 
MACRO_CONFIG_INT(sv_warmup, 0, 0, 0, CFGFLAG_SERVER, "Number of seconds to do warpup before round starts")
MACRO_CONFIG_STR(sv_motd, 900, "", CFGFLAG_SERVER, "Message of the day to display for the clients")
MACRO_CONFIG_INT(sv_teamdamage, 0, 0, 1, CFGFLAG_SERVER, "Team damage")
MACRO_CONFIG_STR(sv_maprotation, 768, "", CFGFLAG_SERVER, "Maps to rotate between")
MACRO_CONFIG_INT(sv_rounds_per_map, 1, 1, 100, CFGFLAG_SERVER, "Number of rounds on each map before rotating")
MACRO_CONFIG_INT(sv_powerups, 1, 0, 1, CFGFLAG_SERVER, "Allow powerups like ninja")
MACRO_CONFIG_INT(sv_scorelimit, 20, 0, 100000, CFGFLAG_SERVER, "Score limit (0 disables)")
MACRO_CONFIG_INT(sv_timelimit, 0, 0, 100000, CFGFLAG_SERVER, "Time limit in minutes (0 disables)")
MACRO_CONFIG_STR(sv_gametype, 32, "dm", CFGFLAG_SERVER, "Game type (dm, tdm, ctf)")
MACRO_CONFIG_INT(sv_tournament_mode, 0, 0, 1, CFGFLAG_SERVER, "Tournament mode. When enabled, players joins the server as spectator")
MACRO_CONFIG_INT(sv_spamprotection, 1, 0, 1, CFGFLAG_SERVER, "Spam protection")

MACRO_CONFIG_INT(sv_spectator_slots, 0, 0, MAX_CLIENTS, CFGFLAG_SERVER, "Number of slots to reserve for spectators")
MACRO_CONFIG_INT(sv_teambalance_time, 1, 0, 1000, CFGFLAG_SERVER, "How many minutes to wait before autobalancing teams")

MACRO_CONFIG_INT(sv_vote_kick, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to kick players")
MACRO_CONFIG_INT(sv_vote_kick_bantime, 5, 0, 1440, CFGFLAG_SERVER, "The time to ban a player if kicked by vote. 0 makes it just use kick")
MACRO_CONFIG_INT(sv_vote_scorelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to change score limit")
MACRO_CONFIG_INT(sv_vote_timelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to change time limit")

// MACRO_CONFIG_INT(dummy, 100500, -100500, 100500, CFGFLAG_CLIENT, "dummy")
MACRO_CONFIG_STR(dummy, 768, "", CFGFLAG_CLIENT, "Maps to rotate between")

/* debug */
#ifdef CONF_DEBUG /* this one can crash the server if not used correctly */
	MACRO_CONFIG_INT(dbg_dummies, 0, 0, 15, CFGFLAG_SERVER, "")
#endif

MACRO_CONFIG_INT(dbg_focus, 0, 0, 1, CFGFLAG_CLIENT, "")
MACRO_CONFIG_INT(dbg_tuning, 0, 0, 1, CFGFLAG_CLIENT, "")
